<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
  Class: PDEHeadlessUtil::PDEHeadlessBuildInfo
  
    &mdash; Documentation by YARD 0.7.4
  
</title>

  <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />

  <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />

<script type="text/javascript" charset="utf-8">
  relpath = '..';
  if (relpath != '') relpath += '/';
</script>

  <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>

  <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>


  </head>
  <body>
    <script type="text/javascript" charset="utf-8">
      if (window.top.frames.main) document.body.className = 'frames';
    </script>
    
    <div id="header">
      <div id="menu">
  
    <a href="../_index.html">Index (P)</a> &raquo; 
    <span class='title'><span class='object_link'><a href="../PDEHeadlessUtil.html" title="PDEHeadlessUtil (module)">PDEHeadlessUtil</a></span></span>
     &raquo; 
    <span class="title">PDEHeadlessBuildInfo</span>
  
  
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
</div>

      <div id="search">
  
    <a id="class_list_link" href="#">Class List</a>
  
    <a id="method_list_link" href="#">Method List</a>
  
    <a id="file_list_link" href="#">File List</a>
  
</div>
      <div class="clear"></div>
    </div>
    
    <iframe id="search_frame"></iframe>
    
    <div id="content"><h1>Class: PDEHeadlessUtil::PDEHeadlessBuildInfo
  
  
  
</h1>

<dl class="box">
  
    <dt class="r1">Inherits:</dt>
    <dd class="r1">
      <span class="inheritName">Object</span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next">PDEHeadlessUtil::PDEHeadlessBuildInfo</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
      </dd>
    
  
  
    
  
    
  
  
  
    <dt class="r2 last">Defined in:</dt>
    <dd class="r2 last">pde_headless_lib.rb</dd>
  
</dl>
<div class="clear"></div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    <p>
解析并保存pde headless build的输入信息 输入信息主要包括两个部分: svn location
</p>
<pre class="code">
 <span class='id identifier rubyid_包括svn地址，需要编译的feature'>包括svn地址，需要编译的feature</span> <span class='id identifier rubyid_id，该location下的plugins以及features目录'>id，该location下的plugins以及features目录</span><span class='comma'>,</span><span class='id identifier rubyid_别名，编译类型，svn版本信息'>别名，编译类型，svn版本信息</span>
</pre>
<p>
全局设置 全局设置包括时间戳以及指定feature分类定义
</p>


  </div>
</div>
<div class="tags">
  

</div>
  <h2>Constant Summary</h2>
  
    <dl class="constants">
      
        <dt id="PATH_svn_info-classvariable" class="">@@PATH_svn_info =
          
        </dt>
        <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pde_headless_build/svn_infoes/svn_info</span><span class='tstring_end'>&quot;</span></span></pre></dd>
      
        <dt id="PATH_global_setting-classvariable" class="">@@PATH_global_setting =
          
        </dt>
        <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pde_headless_build/global_setting</span><span class='tstring_end'>&quot;</span></span></pre></dd>
      
    </dl>
  


  <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#m_global_setting-instance_method" title="#m_global_setting (instance method)">- (Object) <strong>m_global_setting</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
Returns the value of attribute m_global_setting.
</p>
</div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#m_svn_infoes-instance_method" title="#m_svn_infoes (instance method)">- (Object) <strong>m_svn_infoes</strong> </a>
    

    
  </span>
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
Returns the value of attribute m_svn_infoes.
</p>
</div></span>
  
</li>

    
  </ul>




  
    <h2>
      Class Method Summary
      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
    </h2>

    <ul class="summary">
      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#parse_input-class_method" title="parse_input (class method)">+ (PDEHeadlessBuildInfo) <strong>parse_input</strong>(input_file_path) </a>
    

    
  </span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
解析输入文件，将输入文件转化为PDEHeadlessBuildInfo对象.
</p>
</div></span>
  
</li>

      
    </ul>
  
    <h2>
      Instance Method Summary
      <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
    </h2>

    <ul class="summary">
      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#initialize-instance_method" title="#initialize (instance method)">- (PDEHeadlessBuildInfo) <strong>initialize</strong>(svn_locations, global_setting) </a>
    

    
  </span>
  
    <span class="note title constructor">constructor</span>
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'><p>
A new instance of PDEHeadlessBuildInfo.
</p>
</div></span>
  
</li>

      
    </ul>
  

<div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <div class="method_details first">
  <p class="signature first" id="initialize-instance_method">
  
    - (<tt><span class='object_link'><a href="" title="PDEHeadlessUtil::PDEHeadlessBuildInfo (class)">PDEHeadlessBuildInfo</a></span></tt>) <strong>initialize</strong>(svn_locations, global_setting) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
A new instance of PDEHeadlessBuildInfo
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


41
42
43
44</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'pde_headless_lib.rb', line 41</span>

<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span> <span class='id identifier rubyid_svn_locations'>svn_locations</span><span class='comma'>,</span> <span class='id identifier rubyid_global_setting'>global_setting</span> <span class='rparen'>)</span>
	<span class='ivar'>@m_svn_infoes</span> <span class='op'>=</span> <span class='id identifier rubyid_svn_locations'>svn_locations</span>
	<span class='ivar'>@m_global_setting</span> <span class='op'>=</span> <span class='id identifier rubyid_global_setting'>global_setting</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id="m_global_setting=-instance_method"></span>
      <span id="m_global_setting-instance_method"></span>
      <div class="method_details first">
  <p class="signature first" id="m_global_setting-instance_method">
  
    - (<tt>Object</tt>) <strong>m_global_setting</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
Returns the value of attribute m_global_setting
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


39
40
41</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'pde_headless_lib.rb', line 39</span>

<span class='kw'>def</span> <span class='id identifier rubyid_m_global_setting'>m_global_setting</span>
  <span class='ivar'>@m_global_setting</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="m_svn_infoes=-instance_method"></span>
      <span id="m_svn_infoes-instance_method"></span>
      <div class="method_details ">
  <p class="signature " id="m_svn_infoes-instance_method">
  
    - (<tt>Object</tt>) <strong>m_svn_infoes</strong> 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
Returns the value of attribute m_svn_infoes
</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


39
40
41</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'pde_headless_lib.rb', line 39</span>

<span class='kw'>def</span> <span class='id identifier rubyid_m_svn_infoes'>m_svn_infoes</span>
  <span class='ivar'>@m_svn_infoes</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="class_method_details" class="method_details_list">
    <h2>Class Method Details</h2>
    
    
      <div class="method_details first">
  <p class="signature first" id="parse_input-class_method">
  
    + (<tt><span class='object_link'><a href="" title="PDEHeadlessUtil::PDEHeadlessBuildInfo (class)">PDEHeadlessBuildInfo</a></span></tt>) <strong>parse_input</strong>(input_file_path) 
  

  
</p><div class="docstring">
  <div class="discussion">
    <p>
解析输入文件，将输入文件转化为PDEHeadlessBuildInfo对象
</p>


  </div>
</div>
<div class="tags">
  <h3>Parameters:</h3>
<ul class="param">
  
    <li>
      
        <span class='name'>input_file_path,</span>
      
      
        <span class='type'>(<tt>String</tt>)</span>
      
      
      
        &mdash;
        <div class='inline'><p>
输入文件的路径
</p>
</div>
      
    </li>
  
</ul>

<h3>Returns:</h3>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="" title="PDEHeadlessUtil::PDEHeadlessBuildInfo (class)">PDEHeadlessBuildInfo</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


53
54
55
56
57
58
59
60
61
62
63</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'pde_headless_lib.rb', line 53</span>

<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse_input'>parse_input</span><span class='lparen'>(</span> <span class='id identifier rubyid_input_file_path'>input_file_path</span> <span class='rparen'>)</span>
	<span class='id identifier rubyid_file_input'>file_input</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_open'>open</span><span class='lparen'>(</span><span class='id identifier rubyid_input_file_path'>input_file_path</span><span class='comma'>,</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>r</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
	<span class='id identifier rubyid_rexml_doc'>rexml_doc</span> <span class='op'>=</span> <span class='const'>Document</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_file_input'>file_input</span><span class='rparen'>)</span>

	<span class='id identifier rubyid_svn_locations'>svn_locations</span> <span class='op'>=</span> <span class='id identifier rubyid_parse_svn_infoes'>parse_svn_infoes</span><span class='lparen'>(</span><span class='id identifier rubyid_rexml_doc'>rexml_doc</span><span class='rparen'>)</span> 
	<span class='id identifier rubyid_global_setting'>global_setting</span> <span class='op'>=</span> <span class='id identifier rubyid_parse_global_setting'>parse_global_setting</span><span class='lparen'>(</span> <span class='id identifier rubyid_rexml_doc'>rexml_doc</span> <span class='rparen'>)</span> 

	<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'>PDEHeadlessBuildInfo</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_svn_locations'>svn_locations</span><span class='comma'>,</span> <span class='id identifier rubyid_global_setting'>global_setting</span>
	<span class='id identifier rubyid_file_input'>file_input</span><span class='period'>.</span><span class='id identifier rubyid_close'>close</span>
	<span class='kw'>return</span> <span class='id identifier rubyid_result'>result</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>
    
    <div id="footer">
  Generated on Mon Jan 30 13:37:15 2012 by 
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  0.7.4 (ruby-1.9.2).
</div>

  </body>
</html>